package com.kkb.mybatis.config;

/**
 * User: zsl
 * Date: 2019/10/1217:44
 * Description: 专门封装和处理带有 ${}  和动态 sql 标签的sql语句
 */
public class DynamicSqlSource implements SqlSource {

    private  SqlNode rootSqlNode;

    public DynamicSqlSource(MixedSqlNode rootSqlNode) {
        this.rootSqlNode = rootSqlNode;
    }

    /**
     * 在sqlsession之行的时候才调用该方法
     * @param param
     * @return
     */
    public BoundSql getBoundSql(Object param) {
        return null;
    }
}
